<tbody class="sortable">
<?php foreach ($records as $record): ?>
  <tr id="<?php echo $record->getId() ?>" class="ui-widget-content">
    <td>
      <span class="ui-icon ui-icon-arrowthick-2-n-s"></span>
    </td>
    <?php include_partial('cross_modules/show', array('record' => $record)) ?>
    <td name="file_id" class="table-list-image">
      <a href="/uploads/entry/<?php echo $record->getCmsFile() ?>_d.<?php echo $record->getCmsFile()->getExtension() ?>" rel="lytebox[entry]" title="<?php echo $record->getCmsFile()->getDescription() ?>">
        <img src="/uploads/entry/<?php echo $record->getCmsFile() ?>_m.<?php echo $record->getCmsFile()->getExtension() ?>">              
      </a>
    </td>
    <td name="short_content"><?php echo $record->getShortContent() ?></td>
    <td name="long_content"><?php echo $record->getLongContent() ?></td>
    <td name="entry_id"><?php echo $record->getCmsEntryType() ?></td>
    <td name="menu_id"><?php echo $record->getCmsMenu() ?></td>
    <td name=""><?php if($record->getIsActive()) echo __('yes'); else echo __('no'); ?></td>
    <td name="position"><?php echo $record->getPosition() ?></td>
    <td name="created_at"><?php echo $record->getCreatedAt() ?></td>
    <td name="updated_at"><?php echo $record->getUpdatedAt() ?></td>
  </tr>
<?php endforeach; ?>
</tbody>